import { load } from '@utils/utils'
const r = require.context('./',true,/\.vue$/)
const login = []
r.keys().forEach(item => {
    const _path = item.split('.')
    item = r(item).default
    if ( _path[1] === '/login' || _path[1] === '/Navigation' ) {
        login.push({
            path: _path[1],
            meta: item.meta,
            component: item
        })
    } else {
        login.push({
            path: _path[1],
            meta: item.meta,
            component: load('/Login'+_path[1])
        })
    }
});
// console.log(login);
export default login